using System;
using Tort.Attributes;

namespace UnitTests.Tort.Objects
{
    [DBObject("TestUser")]
    public class User
    {
        [PrimeKey("UserId")]
        public int UserId { get; set; }

        [DBField]
        public string UserName { get; set; }

        [DBField("FNAME")]
        public string FirstName { get; set; }

        [DBField]
        public string Email { get; set; }

        [DBField]
        public DateTime DateField { get; set; }

        [DBField("Names")]
        public String FullName { get; set; }
      
        public string SomeOtherStuff { get; set; }

        [LoadRequirement("addressident")]
        public Address Address { get; set; }

    }
}
